<script setup>
import { useCountStore } from '@/store/counter'
const countersStore = useCountStore()
</script>

<template>
    <div>
        <h3>我是Son2组件 - {{ countersStore.count }} - <button @click="countersStore.subcount">-</button></h3>
        <h4>{{ countersStore.msg1 }}</h4>
    </div>
</template>

<style scoped></style>
